cmake_minimum_required(VERSION 3.8)
project(test_params)

# find dependencies
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(std_msgs REQUIRED)

add_executable(get 
  src/param_get.cpp
)
ament_target_dependencies(get rclcpp std_msgs)

add_executable(set 
  src/param_set.cpp
)
ament_target_dependencies(set rclcpp std_msgs)

install(
  TARGETS get set
  DESTINATION lib/${PROJECT_NAME}/
)

ament_package()
